import { request } from ".";

export const authApi = {
  login: (params: { username: string; password: string }) =>
    request.post("/unAuth/login", {
      header: {
        "Content-Type": "application/x-www-form-urlencoded",
      },
      data: params,
    }) as Promise<GlobalType.RequestType.ResponseBody>,
};
